From: Antoine Musso Date: Fri, 24 Feb 2012 20:30:55 +0000 (+0000) Subject: avoid test suite file leaks X-Git-Tag: 1.31.0-rc.0~24532 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=f40529b4645b54338f15fd071e04b5e942448d7d;p=lhc%2Fweb%2Fwiklou.git avoid test suite file leaks --- diff --git a/tests/phpunit/includes/filerepo/FileBackendTest.php b/tests/phpunit/includes/filerepo/FileBackendTest.php index 7b04a40752..356c6898d2 100644 --- a/tests/phpunit/includes/filerepo/FileBackendTest.php +++ b/tests/phpunit/includes/filerepo/FileBackendTest.php @@ -200,6 +200,7 @@ class FileBackendTest extends MediaWikiTestCase { $this->backend = $this->multiBackend; $this->tearDownFiles(); $this->doTestStore( $op ); + $this->filesToPrune[] = $op['src']; # avoid file leaking $this->tearDownFiles(); } @@ -662,6 +663,7 @@ class FileBackendTest extends MediaWikiTestCase { $this->backend = $this->multiBackend; $this->tearDownFiles(); $this->doTestConcatenate( $op, $srcs, $srcsContent, $alreadyExists, $okStatus ); + $this->filesToPrune[] = $op['dst']; # avoid file leaking $this->tearDownFiles(); }